<template>
  <div>
    <div class="main-wrap">

      <div class="chartWrap">
        <Chart  />
      </div>
    </div>
  </div>

</template>

<script setup>
import { QuestionFilled } from '@element-plus/icons-vue'
import Chart from './component/chart.vue'

import { ref,reactive } from 'vue'
defineOptions({
  name: 'Smstore'
})

</script>

<style lang="scss">
.main-wrap{
    width: 100%;
    background-color: #f7f7f7;
}

.count-content {
    width: 50%;
}
.count-li {
    position: relative;
    width: 48%;
    margin-right: 2%;
    height: auto;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 20px;
    background-color: #FFFFFF;

    .logo {
        width: 40px;
    }

    .title {
        font-size: 24px;
    }

    .tag {
        position: absolute;
        width: 30px;
        height: 30px;
        top: 10px;
        right: 10px;
    }

    .num {
        margin: 20px 0px;
        font-size: 22px;
        font-weight: 600
    }

    .analysis {
        font-size: 16px;
        margin-top: 26px;
    }

    .process{
        position: relative;
        width: 100%;
        height: 16px;
        border-radius: 13px;
        margin-top: 5px;
        background-color: #f3f3f3;;

        .yesterline{
            display: block;
            position: absolute;
            left: 0;
            top: 0;
            height: 26px;
            border-radius: 13px;
            background-color: #2878ff;
        }
        .todayline{
            display: block;
            position: absolute;
            left: 0;
            top: 0;
            height: 26px;
            border-radius: 13px;
            background-color: #23b93c;
        }
    }
}

.countUl {
    width: 50%;
    margin-right: -2%;
    flex-wrap: wrap;

    li{
        width: 48%;
        margin-right: 2%;
        height: 0;
        padding: 46px 30px 34% 40px;
        box-sizing: border-box;
        margin-bottom: 20px;
        border-radius: 12px;
        background-size: 100% 100%;
        padding-top: 10px;
        padding-left: 30px;
        padding-bottom: 20%;
        color: #FFFFFF;

        .num {
            font-size: 22px;
            margin:10px 0px;
            font-weight: 800
        }

        .tit {
            font-size: 18px;
        }

        .icon_exampleTag {
            width: 20px;
            height: 20px;
            cursor: pointer;
            background-image: url('https://saas.jitangcn.com/images/icon/icon_exampleTag.png');
        }
        .mgr20{
          margin-right: 20px;
        }
        .analysis {
            font-size: 16px;
        }

        &:nth-child(1) {
            background-image: url('https://saas.jitangcn.com/images/li/img_li.png');
        }

        &:nth-child(2) {
            margin-right: 0;
            background-image: url('https://saas.jitangcn.com/images/li/img_li2.png');
        }

        &:nth-child(3) {
            margin-bottom: 0;
            background-image: url('https://saas.jitangcn.com/images/li/img_li2.png');
        }

        &:nth-child(4) {
            margin-bottom: 0;
            background-image: url('https://saas.jitangcn.com/images/li/img_li4.png');
        }
    }
}

.chartWrap {
    margin-top: 20px;
    background-color: #fff;
    border-radius: 20px;

    .title-wrap {
        justify-content: space-between;
        font-size: 20px;
        padding: 40px 20px;
    }

    .chart {
        width: 990px;
        height: 100px;
        margin: 0 auto;
    }
}
</style>
